package com.trust.entity.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author ccc
 * @desc
 * @since 2023/5/25 13:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("下拉框出参")
public class DropDownResult implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("图片")
    private String image;

    @ApiModelProperty("是否默认 0否 1是")
    private Integer isDefault = 0;

    public DropDownResult(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
